package pa2;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface IMyKVCoordinator extends Remote {
	
	public final String SERVICENAME = "pa2.server";
 
	public void register(IMyKVPeer peer) throws RemoteException;
	
	// returns a peerNumber
	public int getID() throws RemoteException;

}
